
function shaizi(num=1){
  console.log(Math.ceil(Math.random() * 6 * num));
}

shaizi();
shaizi(2);
